-
Notifications
You must be signed in to change notification settings - Fork 154
Workaround for truncated text issue on ListView #14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Workaround for truncated text issue on ListView #14
Conversation
|
Can you please show a screenshot of the issue or something? |
|
Hi !, I think I've just realised when it fails. In the screeshots, the wrong one has the 'customMinTextSize' attr set in good wrong Regards! 2015-02-26 17:55 GMT+01:00 AndroidDeveloperLB notifications@github.com:
|
|
I don't see the images. |
|
can you please make a (minimized, tiny) sample project to show this? I never noticed a truncated text before. |
|
Sorry, I've tried to make a sample but it works perfectly (unfortunately ;)). In my project, where this fails, the above images are a header (injected with include tag) within an item layout of a ListView, and when the app starts the headers are ok, but when scrolling the listview they are become wrong, and the others layouts where I use the same header are displayed wrong. Maybe this is a ghost bug, but it solved my issue. Regards! |
|
I'm not sure if I should merge this pull request. |
|
Ok, if I find out anything, I'll keep you informed. |
|
ok. On Thu, Feb 26, 2015 at 11:38 PM, miguelbcr notifications@github.com
|
|
I was able to reproduce the bug. https://github.com/miguelbcr/AutoFitTextView/tree/master/sampleTruncated search for 'FIXME' in files and comment/uncomment the blocks or lines of code and observe the textview's on the listview how they are truncated |
|
Ohhh.... It's so subtle and tiny that I didn't notice. |
|
I dont know if it is the best way to solve it or if you should merge it, but I spent a lot of time with this behaviour and at the end I found that workaround, and also I don't know if this is a good code or simply a shit, because Im aN average programmer, but this did that avoid to use another library, because I like yours. |
Bugfixing: The text appears clipped when using setMinTextSize method
|
ok, you've convinced me. I will now merge it. |
|
Thank you for your library ;) |
|
ummmm... I think I've merged the new sample too somehow. |
|
This is the first time I collaborate on github and I'm not an expertise with Git, so I committed the sample code because I didn't know how upload it for you could see it, but you have freedom to delete or change whatever you want, I don't mind, because the bug fixing comment , maybe, is not appropriate either. |
|
That's what I did. On Sat, Feb 28, 2015 at 4:21 PM, miguelbcr notifications@github.com wrote:
|
|
I don't know what are you referring with 'How do you do it?', but I've changed the title of my pull request. All this is new for me, forks, pull request, ... so don't ask me complex things,... by the moment... ;) |
|
But this is it. I never done such a thing as pull-request. |
|
Yes, I click on Fork (top right icon), and then I clone the repository (my fork) and modified the AutoResizeTextView.java, and then I commited my changes into my fork and pushed it. Now on github I cliked on 'pull request' link (top right menu) and 'create a pull request' link (inside the box). Then you can see my pull request, with the change to merge. |
|
Nice. Thank you. Maybe I will try it next time. |
|
@miguelbcr The code of "post(...)" seems to cause issues on Android 5.x . I will now remove this code till there is a better way to solve this. |
|
ok
|
|
@miguelbcr If you find a way to fix it for all to use (original post here: #19 ) , please let me know. |





No description provided.